fix sidebar to work with queue