fix the bugs caused by namenode ui