if url is null skip