corrected the mailgun controller