finished coding lang_filter && some bug fixed elsewhere.