Allowed for null data
Allowed for null data
fixed data:[] problem