fix bugs in .bashrc