Fixed warning 'type queue/0 deprecated'