fix clean and user home detection