tweak some warnings