Fix searchar

addresses #31
Merge pull request #54 from segiddins/bugfix/searchbar

Fix searchar