fixed missing semicolon in "ends" line