fixed ack handling