fix a copule of leaks of RepGather structs