- sm detect fix
- sm duplicate charsetting