fix error when emitting ack without args