MAINT: fix a few harmless compiler warnigns