fixed df_struct issue