fix magnet link bug