[FOLD] fix proto version and logging
[FOLD] remove dead code