fixed errors in basic.sh