fixed the interactive prompt on the encoder