fix link close