progress bar changed to be a self.view’s subview
remove unless code