make "map" parser detect format errors