Fix bash if statments