owningptr fix