Attempt to fix sms bug