checkticket bug fix