fix url for .toLowerCase()