fix for mozilla firefox