changed to call check_cv_name_str in check_cv_name_sym and adjust indent
Merge pull request #2549 from kkkkkt/fix_indent_and_refactor

changed to call check_cv_name_str in check_cv_name_sym and adjust indent