fix link bug

@ikhattab review this