Fix bash compatibility issue