fixed dataframe initialization error