cleared repositories and controller