Apply mask for default value.