ticketCategory was not using $index