diff --git a/app/controllers/universal_tables_controller.rb b/app/controllers/universal_tables_controller.rb
index 49dbe5d..9b0ffa6 100644
--- a/app/controllers/universal_tables_controller.rb
+++ b/app/controllers/universal_tables_controller.rb
@@ -13,7 +13,7 @@ class UniversalTablesController < ApplicationController
csrf_value = (0...46).map { ('a'..'z').to_a[rand(26)] }.join
form_field = ""
query_string = ""
- query_string = "&column=#{params["column"].gsub("\"",'')}&q=#{params["q"].gsub("\"",'')}" if params["column"].present?
+ query_string = "&column=#{params["column"].to_s.gsub("\"",'')}&q=#{params["q"].to_s.gsub("\"",'')}" if params["column"].present?
query_string = query_string + "&page_no=#{params["page_no"]}" if params["page_no"].present?
sort_url = "/#{I18n.locale.to_s}#{page.url}?sortcolumn=#{tc.key}&sort=asc#{query_string}"
title_class = ""