plugin behaviour modified with layerVersion