fix mac's bash features