fix minor issues with the npm package