Fix behavior of the encoder #246