Fix error in private browsing safari

Ok last reject, this fixes the error of safari in private browsing with a promise that would never resolve ! (I didn't even know this bug existed until I tested for it)