This PR check in the progressbar side if the chain is not yet initialized.
This fix the following error message