invalid Urls are now printed with error code