fix creation of queue without context in queue table