Fix bugs caused by audit api.

Merged 徐鹏程 requested to merge pc-fix-audit into master

Merge request reports