change DECODER OptString to OptEnum per egypt's recommendation