Fixing new template for Firefox