Fixing up rectangle