creating of ticket now works good