Bug Fix For Ticket.php