Fix problem with Firefox