refactor var name; rm useless func indirectReferredArray