fix(decoder.go) throw out error