fix progress bar component, remove bug code in constructor, update 'init' method