fix generate-names progress bar updating