sms registration bug fix