url should be a string