refactored confusing ticketID references to the correct Ticket references