Fixed bugs in user stats