fixed for Firefox