fix queue name assignment. fixes #1