fixed a problem in prepare.sh