fixed download data complete flag