fixed some more compilation errors