fix ctrl bug during reverse search