fix bug in decoder when a value is false