fixed incorrect dereferencing returned values in readPedigree