fixes for mozilla