new params for v2 publish
fix warnings
0.08