fixed some bugs

groupbox order with grid