modify repocheck