fixed module diagnostics