Fix Mechanize errors