removed wrong commented code from index action