fixing bugs at mulitshapes