Clean some mess in search.php