Fix the bug that MeV cannot load saved states correctly