queue shuffle and clear