added grief revert debug output