Fixed firefox sm2 bug