changed faulty paramater for add rectangle