fix standalone mode problem
code style
0.3.4