removed a panic in handle conn