fix edit tickets bug