fix files_version hooks