Ticket widget not working correctly