fix ack on linux