fix a shape bug