fix bug preventing new tickets from being created