fix bugs
Merge branch 'secondDemo' of https://github.com/nromanen/Ch-024 into secondDemo