fixed attribute name typo, fixed namenode switch