revise source_check.sh