fix ack script