diff --git a/app/views/static_pages/not_allowed.html.erb b/app/views/static_pages/not_allowed.html.erb
index 50a03f8..2cc6859 100644
--- a/app/views/static_pages/not_allowed.html.erb
+++ b/app/views/static_pages/not_allowed.html.erb
@@ -1 +1,4 @@
+<% Rails.env.production? %>
+
+<% end %>
You do not have permissions to go there.
diff --git a/app/views/tournaments/bracket.html.erb b/app/views/tournaments/bracket.html.erb
index 293be18..90d537d 100644
--- a/app/views/tournaments/bracket.html.erb
+++ b/app/views/tournaments/bracket.html.erb
@@ -1,3 +1,6 @@
+<% Rails.env.production? %>
+
+<% end %>
<% cache ["brackets", @weight] do %>
diff --git a/app/views/tournaments/no_matches.html.erb b/app/views/tournaments/no_matches.html.erb
index 0dc45c3..0f35252 100644
--- a/app/views/tournaments/no_matches.html.erb
+++ b/app/views/tournaments/no_matches.html.erb
@@ -1,3 +1,6 @@
+<% Rails.env.production? %>
+
+<% end %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
diff --git a/app/views/tournaments/team_scores.html.erb b/app/views/tournaments/team_scores.html.erb
index bf8f1c1..054d2a0 100644
--- a/app/views/tournaments/team_scores.html.erb
+++ b/app/views/tournaments/team_scores.html.erb
@@ -1,3 +1,6 @@
+<% Rails.env.production? %>
+
+<% end %>
<% cache ["team_scores", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" , :class=>"btn btn-default"%>
diff --git a/app/views/tournaments/up_matches.html.erb b/app/views/tournaments/up_matches.html.erb
index 03f14ad..2801883 100644
--- a/app/views/tournaments/up_matches.html.erb
+++ b/app/views/tournaments/up_matches.html.erb
@@ -1,3 +1,6 @@
+<% if params[:print] == nil && Rails.env.production? %>
+
+<% end %>
<% cache ["up_matches", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>