fix digest error in bash directive