minor warnings cleanup