fixed editor bug when map id does not yet exist