small code cleanup in auditor