also catch url errors