Fixed path adjustment bug.