Fix on api and gamification