slow connection bug fix