remove all layers stuff as there are a lot of issues with datastacks with lots of layers