fix for firefox unload tabs