adjust the code of pc_miler.rb