Update freezing.rb

fix gene use