fixed some bugs. updated npm package info