Variable was undefined, use the right url variable