onProgress event; fix intermediate state