limit progress bar max length

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>