fix root select with namespaces