fix display for firefox