Fixes to len and type on Grid