refactor; cpa error stats collection