Fixed bug in device component. Updated package.json