fix link conditional