compilation errors correction