replace ack with ag