Fix del/alt-layer mapping