fix link bug not coming from parent node