make some stuff less bad in firefox