fix home dir handling in delein, etc.