fix elements in chrome and firfox