Fixed repository problems