replace "/home/ka" to $HOME