fix error in search
Merge branch 'issue-9' into develop