fix for mozilla rendering