auto adjust home dir