fix issue #9.
Merge pull request #10 from xmartlabs/bugfix-fixed-search

fix issue #9.