corrected error during loss of conn