change the map position and add namespace for session