fix apply audit error