fixed map type recognition