[TicketMachine] Bug fix