fix some repo problems