fix search with whitespace