fix bug of missing compute.rb modification