Fixed a bug in the reading into Dataframes