apply fix to THF from Mote