fix default url for mailer