revert debug mode