fix issue with smtp_settings