fixed saving device_id, sn and barcode in asset saving