fixes grid
removes commented out code