Modify some error and add the NewTicketCtrl