fixing repocontroller