more changes for support repoinstall