fixing firefox bug with upgrade