fixes a find shape bug