fixing downloading for public repos