fixed queue merge