fixes only spaces in search