fixed issue in stats