clear dataArray before add new data to it