fix the problem with corrupted INI file