fix toggle row or toggle column