fixes for home dir, specially root