minor fixes to grid