Fixes to web.rb