remove unique pointer member