match subnamespace properly