fix downloading multiple chunks