tweak type for picky compilers