clean up diagnostics page