fix rubocop queue.rb