Queue problem solved