fix a bug introduced into base.sh by the previous commit