fix error where namespaced modules crash loading of AR model