fix map put call