Fixed text path undefined error in linkage