fix the variable for calAccuracy.