fixing a bug in the FMD preprocessor affecting the FMD reconstruction