fix classreader to actually read parents