search query fix
put search into Service.php