fix: extra semicolon after if statement