fixed index view and added show view