decode bug