Fixing pesky firefox bug