fixed StatCounter