url.rb cleanup