some fix on do.sh