fixing semicolon error