fix getAlldatawithArray