Fixed Repository usage