fixed ch03/todo-app problem