fix chunk downloading