minor fixes in bashes