Fixing error in ImportShape.