fix for firefox nightly