dm term: bug fixed