add workaround for resolve url in curl file download
fraud - unfinished