rectangle still with issues