fixed ticket bug