fix problem with Firefox