fix syntax in statistics