fix for user.rb