bug fix in ReadPar()