bug fix bash