~ fixed compilation errors