remove spaces from stats key