Fixed Capybara issue