fixed bug with size of shapes