hack to remove linking in the same layer