bugfix for older versions of firefox