fixed preparing.sh