fix uninitialized class variable error when nokogiri is used as handler