fix an issue with creating test vs real tickets