fixed capybara and some paths