temp_buffer_revert