Mechanize bugfix