fix minor warnings