fixed: ToString() handle when data is null