fix link behavior