fixed mozilla required functionality warning.