fix: return empty elements in getData() also