fix map regression