bug in build.sh