fixes firefox erase issue