Fixed path problem for debug code