fix wrong index in progressRate