fix defining url