critical bug fix: now compatible with geant4.9.6