preferred warning fixes