Fixed open shape bug