fixed repository error