Fix endline in loadmap, uodate map