remove bugs, remove Grid class in gui.pu