fix various path related bugs