debugging event parsing