fix two bug in the search in user and adminstrator