fixed a bit for mozilla