Chi-squared test for imbalance class

Hi all !

I am dealing with chi-squared test performing with Crosstabe node.

I get through this properly, but i have a doubt: classes are imbalanced a lot. How can I deal with this ?