Fix for firefox.