fix base.sh