fix support for data-type=array