Fixed issue creating stats