Fix a bug in PC creation.