fix for tmp objects