Bugfix stat registration