main_df cleanup