fixed cewCount bug