fixed an issue with datasources return of array