fixed issue on lesson 11

fix syntax error and missing tags_attributes