die on niy encoding