fix map register