Fixed extra semicolon after an if statement