fixed multi-OS repository setup errors