fix broken stuff on firefox