minor fix in degree cal in statistics plugin