fix ack callback