Fix decoder return err