added pwd to debug