loganre: fix build errors