add base64 support
fix log
fix event