Fixed errors with connections because of leaked information