fixes namespace array on reload, customload support for dynamicload