fix the 'BootstrapProgressbar uninitilized' bug