fixed ticketcontroller a little bit