(Research) fix bug with QP connection