bugfixes and improvement in package.json and readme