fix 0-100 percent at 1 moment bug of progressbar
merge with remote with-lua branch