fix debug build breakage