fix bug: null data support.