fixed bug with map configuration reading