added ftfixfmd, some refactoring in ftfixid