fix invoke invocations