fixed invoker not being initialized.