bugfixes to map display and search