fixed reverse search after search