Fix setting recording issue.