small fix to search