Fix bug with event parsing in go block