solving an issue in invocation