added path debugging fix