fix ack and set autoread