fixixng bad connection