fixing search

Signed-off-by: Patrick Lock <patrick.lock@gmail.com>