fix case when queue is rolled back without creating it first