fix variable name in statistics