Fixed a parsing bug in the  MapBuilder class.