firefox and other fixes