try to catch url error