fixed adding of repositories