fix ticket creation issue