fix lesson 7.1.4 syntax errors