fixed a bug with searc results