fix for map in find