avoiding compilation error with some compilers