bug fix for change in queue factory signature