Changed global variable 'RectangleGeometry geom' into 'Geometry geom'