fix bash if statements