fixed link-replacement (id)