updates to work with Firefox