editing switchlayer