fixes to get ft-detect working
fixes to get ft-detect working