added error message for failed URL load