Null pointer fix and TicketFragment