removed or statement on index action,removed extra newlines