bug fix in emotion filter