null references to var ticket