bug fix for bash;