Fix duplicate ticket issue