fix for progress calculation