correct a bug in pcs.