fix CreateMapObjectCommand