Fixed illegal invocation