fix exception when first sms

Signed-off-by: eggfly <lihaohua90@gmail.com>