memory leak. Please put the scoped_ptr back.