fixes for new firefox