bug fix, set progress bar showing when loading data.