Fixing the sms part