trivial warning fixes