some changes in handling sms