fix ballcount