fixed onProgress issue
fix onProgress tests