Fix masking of $ken.