modify xmpush.rb