ref #12 reduce mac warnings