improve mapgensettings