fixed BaseRouter::class bug