fix the unspeakable horrors I caused to readevalprint's patch