Sms manager + fixes