fix bugs with update todo
Merge branch 'dev' of https://github.com/nromanen/ch017 into dev