fix some bugs for progress and goal..