bugfix

MAJOR bugfix in the bash version