correct accidentally modified inventory files