Fixed progress calculation