adjust pCode