cleaned index controller