resolve remaining $HOME issue