Fix bug of decoding #14