diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index d442b9112..dff20a20b 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -3,7 +3,7 @@
<%= render :partial => 'project_file_new', locals: {project: @project} %>
<% elsif @container_type == 1 %>
<%= render :partial => 'course_file', locals: {course: @course} %>
- <% elsif @container_type == 2 %>
+ <% elsif @container_type == 2 %>
<%= render :partial => 'files/subfield_files', locals: {org_subfield: @org_subfield} %>
<% end %>
diff --git a/app/views/organizations/set_homepage.js.erb b/app/views/organizations/set_homepage.js.erb
index 5b56d57b3..97824bb3a 100644
--- a/app/views/organizations/set_homepage.js.erb
+++ b/app/views/organizations/set_homepage.js.erb
@@ -1,2 +1,2 @@
//location.reload();
-window.location.href ='<%= organization_path(@org, :show_homepage => params[:show_homepage])%>';
\ No newline at end of file
+window.location.href ='<%= organization_path(@org, :show_homepage => 1)%>';
\ No newline at end of file