Fixed kscope ad recording issue #1038