bugfix: create queue first