fix @diagnostics_prefs in composer