add SMS module
fix some bug for SMS module