minor fix in search