data.ack was incorrectly always true