removed magic encodings