minor fix on capybara