fix api for moods