fix complete meltdown if URL is considered invalid