made sure correct doPrepare is called even w/o EncodingManager specified