security fix, location search method