error in helper.rb