improving map further
bug in the parsing of maps