map_spec fix