fix sparse data layer, not complete yet