fixed repository problems