fixed broken fToC and cToF