Fix event parsing with semicolons