fixed mozilla bug