improve PCS parsing