modify download process