fix most firefox issues