* fix: used process.nextTick in NodeJS
* cleanup