fixed invalid nodename when writing to a file
created a todo list