fix the search position