dalete invalid features in ffd input files