src: fixed a bug
gyp: remove not working code