fix queue.js callback async