Fix send_pwd_by_sms unterminated error