fixes to grid maker