App::ExtEntity/ use @batch instead of @cfg[:batch];