Grid fix, .length instead of .size()