bug fix in PDMlib::Read