fixed search issue in the admin