change progress value to be float type