fixing deprecation from older repositories array