lesson 10 bug fixes