fix bug in cal.vol.sh