improve, but not completely fix, vpn compatibility