fixing less compilation errors