fix reading home folder