correct a problem of decode