Fix stack trace fix after testing in Safari