change define unique_ptr -> scoped_ptr