fix the ui bad words bug