fix maps#new issue