Fixed a bug in setting original_data_frame