linkPathModel bug fix