Fixed url variable bug