fix syntax errors in v2.0 API
fix syntax errors in v2.0 API