Todolist syntax error corrected