Fixing silly firefox bug