fixed when a map returns mappings out of bounds