cleanup mechanize module