optimize dsl.rb
fix change wp for results