small fix in order to read properly the new .dat files