[Nice Server] Fix bugs when save task/node name.