fix queue