fix connecting