encode decode while unstable work