fix loading of controller namespaces