Fix array_pop in namespaceAlias