fix init width of progress bar