edit todolist and fix some bug