move utils out of 404.rb