Add error trap if url does not have delimiter