fixed saving progress