few bug fixes with error yielding
few bug fixes with error yielding

kin9puppy/node-sync,myteksi/node-sync,kin9puppy/node-sync,kin9puppy/node-sync,ybogdanov/node-sync,kin9puppy/node-sync,phisixersai/node-sync