small get_map bugfixes