修复decode bug