fixed typos in repository model