Add recode test
more
maybe fix
Fix clang bug