fixes issue #4

if you accepting this pull request then it will be nice if you  publish module with new changes on npm