add backwards compatibility on map loading