deal with different os with ack