fix class namespace error in AutoRoute