fixed IndexController Registry and Viewe