Bug fix initial java progress bar