better error handling, load urls correctly now without http client