fixed deleting ticket spec