changed version number
updated error in package.json file
fixed read function