FIX: major bug when reading mff files