properly resolve namespace for array subtypes