fixed the rate field problem with capybara