fixed .bash_login amendment logic