fix blank magnet link handling issue.