fix for compilers compatibility