fixed missing code block ending