fixed repository cloning