fix for Firefox