repair version file