fix of spinup_check.sh