Fix crash on ack callback not exist