fix main build.sh