sms fix
conditional