more unix warnings cleanup