enable diagnostic