Restore original buffer.