fix in web.rb