fix bugs in display and comment out capybara webkit