more compilation errors fixed with some compilers