Fix a bug in pcrud.