bugfix env for home folder