fixed errror emotion_level is not defined