fixed bugs in map and in search results