decoder inside modification

keep the coding style