fixed issue where rows were wider than grid