fix minor compilation error/warning