possible bugfix for firefox