addd check for invalid connection