initialize progress bar to zero ( the right way)