fixed decode bug

fixed decode bug