compatibility adjustment for firefox.