fix DATA-API plugin init block