Fix bash overflow