and also trim search query