change layers and scale dependency