fix decorator, removed decorator from index view