fix small issues in todolist demo