minor warning fixes