fixed 2 compilation errors
fixed a compilation error