fixed if in bashrc