Fixed #344 sendReceiptAck is not defined