fix finding classes in namespaces