fix ack warning on ubuntu