fix JLab connection issues