Fix for not sending array of data