Fix reference to layer type