Bugfix for old firefox