fix global searching with ack/ag