fixed crash with empty magnet link
merged