fixing the diagnostics issue

fix for the diagnostics configuration