bugfix for firefox