Fix issue in searching non-english characters

Adding `trim()` solved it

Fix #11