changed data to result to fixed mailer issue