Fixed ack bug