more srectangle fixing