fix map for search