Fix lr restore issue.