Fixed warning for Firefox