fix ack-grep batch