fix the bugs in bashrc.