fixing error adding in new pdocasts