bug fix around boot.sh