Lesson 6: Fix some errors