handle empty map_type