solve range problem after loading a saved pz file