Moved a few objects to unique_ptr

Missing a space