fix two possible crashes (one with SNOW, other with loading mod saves)