Maps: fixed bug in map parser.