fixed compilation errors
fixed compilation errors