fix a bug

if user run compress.sh uptime, it will show loadage;the program should
add error-check