added support of com in getLinkId