pcoa bug fix