fix Y home dir and turn on debug