block getdimensions and equals fix