fixes email in purchase.rb