#3 INVALID_STATE_ERR in Safari

fixed