fix injections for repository