Progress bar problem solved

The problem in windows occurred when there were less than 10 frames:
progress bar gave an error