some fixing of bashrc for mac