fix GenericReader and HDF5Reader

ready to merge, no more problem now