Fix IRepository