Avoiding weird characters on searchs