restore block_this, block_depth after use