sms specs and misc fixes