add getInstance for global invoke