fix the progress percentage value