more unique_ptr conversion