get rid of process.nextTick