Fixed an invocation bug