remove element displayed because has_css works better