add support v7 to main
remove support v7 class