some minor warning fixes