bash fixes