fixed error on map-photo interaction